<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.text.DateFormat"%>
<%@page import="java.util.Date"%>
<%@page import="com.ereport.entity.Projects"%>
<%
   Projects prj=(Projects)request.getAttribute("prj");
%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="366"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                       
                        <tr>
                          <td width="29">&nbsp;</td>
                          <td width="112">&nbsp;</td>
                          <td width="250">&nbsp;</td>
                          <td width="23">&nbsp;</td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                          <td align="left" valign="top" height="28" class="content" style="font-weight: bold;">Name Of Project: </td>
                          <td align="left" valign="top" class="tableCell">
                          <%=prj.getProjectName() %></td>
                          <td align="left" valign="top">&nbsp;</td>
                        </tr>
                        
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top" class="content"></td>
                          <td height="5" align="left" valign="top"></td>
                          <td align="left" valign="top"></td>
                        </tr>
                        <tr>
                          <td height="28">&nbsp;</td>
                          <td align="left" valign="top" class="content" style="font-weight: bold;">Organisation Name:</td>
                          <td align="left" valign="top" class="tableCell">                                                 
                          <%=prj.getOrgName() %></td>
                           
                          <td align="left" valign="top"></td>
                        </tr>
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top" class="content"></td>
                          <td height="5" align="left" valign="top"></td>
                          <td align="left" valign="top"></td>
                        </tr>
                        
                        <tr>
                          <td>&nbsp;</td>
                          <td align="left" valign="top" height="28" class="content" style="font-weight: bold;">Industry Type: </td>
                          <td align="left" valign="top" class="tableCell">
                          <%=prj.getTypeOfIndustry() %>
                          </td>
                          <td align="left" valign="top"></td>
                        </tr>
                        
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top"></td>
                          <td height="5" align="left" valign="top"></td>
                          <td align="left" valign="top"></td>
                        </tr>
                       <%
                          String enddate="";
                         Date dat=prj.getEndDate();
                          DateFormat dfmt=new SimpleDateFormat("dd-MM-yyyy");
                          	enddate=dfmt.format(dat.getTime());
                          %>
                        
                        <tr>
                          <td height="28">&nbsp;</td>
                          <td class="content" valign="top" style="font-weight: bold;">End Date: </td>
                          <td align="left" valign="top" class="tableCell"><%=enddate %></td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top"></td>
                          <td height="5" align="left" valign="top"></td>
                          <td align="left" valign="top"></td>
                        </tr>
                        <tr>
                          <td height="28">&nbsp;</td>
                          <td class="content" valign="top" style="font-weight: bold;">Project For: </td>
                          <td align="left" valign="top" class="tableCell"><%=prj.getProjFor() %></td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top"></td>
                          <td height="5" align="left" valign="top"></td>
                          <td align="left" valign="top"></td>
                        </tr>
                        <tr>
                          <td height="28">&nbsp;</td>
                          <td class="content" valign="top" style="font-weight: bold;">Type Of Project:</td>
                          <td align="left" valign="top" class="tableCell"><%=prj.getTypeOfProj() %></td>
                          <td>&nbsp;</td>
                        </tr>
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top"></td>
                          <td height="5" align="left" valign="top"></td>
                          <td align="left" valign="top"></td>
                        </tr>
                    </table></td>
                    <td width="330" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="30" height="21">&nbsp;</td>
                          <td width="120">&nbsp;</td>
                          <td width="300">&nbsp;</td>
                        </tr>
                        <tr>
                          <td >&nbsp;</td>
                          <td align="left" height="28" valign="top" class="content" style="font-weight: bold;">Group/Division:</td>
                          <td align="left" valign="top" class="tableCell">
                          <%=prj.getDivision() %></td>
                        </tr>
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top" class="content"></td>
                          <td height="5" align="left" valign="top"></td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                          <td align="left" height="28" valign="top" class="content" style="font-weight: bold;">Name of User:</td>
                          <td align="left" valign="top" class="tableCell"><%=prj.getNameOfUser() %></td>
                        </tr>
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top" class="content"></td>
                          <td height="5" align="left" valign="top"></td>
                        </tr>
                         <%
                          String stdate="";
                         Date stdat=prj.getStartDate();
                          DateFormat stdfmt=new SimpleDateFormat("dd-MM-yyyy");
                          	stdate=dfmt.format(stdat.getTime());
                          %>
                        <tr>
                          <td>&nbsp;</td>
                          <td align="left" valign="top" class="content" style="font-weight: bold;">Start Date:</td>
                          <td align="left" valign="top" class="tableCell"><%=stdate%></td>
                        </tr>
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top" class="content"></td>
                          <td height="5" align="left" valign="top"></td>
                        </tr>
                        
                        <tr>
                          <td>&nbsp;</td>
                          <td align="left" height="28" valign="top" class="content" style="font-weight: bold;">EMS:</td>
                          <td align="left" valign="top" class="tableCell"><%=prj.getEms() %></td>
                        </tr>
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top" class="content"></td>
                          <td height="5" align="left" valign="top"></td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                          <td align="left" height="28" valign="top" class="content" style="font-weight: bold;">Used Components:</td>
                          <td align="left" valign="top" class="tableCell"><%=prj.getUsedComponents() %></td>
                        </tr>
                        <tr>
                          <td height="5"></td>
                          <td height="5" align="left" valign="top" class="content"></td>
                          <td height="5" align="left" valign="top"></td>
                        </tr>
                        
                    </table></td>
                  </tr>
                </table>